home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 07 - 1991 / 07.07 Jul 91 / MacLock 1.0 / CMacLockPane.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-03-27  |  728 b   |  35 lines  |  [TEXT/KAHL]

  1. /*****
  2.  * FILE:        CMacLockPane.h
  3.  * Programmer:    Mark Bykerk Kauffman
  4.  * Date:        1/91
  5.  * Purpose:
  6.  *        Pane class for the MacLock application.
  7.  *
  8.  *****/
  9.  
  10. #define _H_CMacLockPane    
  11.         
  12. /* Parent Class */
  13. #include <CStarterPane.h>
  14.  
  15. #include <CButton.h>
  16.  
  17. struct CMacLockPane : CStarterPane {
  18.  
  19.     /* Instance Variables    */
  20.     CButton     *LockButton;
  21.     Handle        displayedIcon;
  22.     Handle        closedLockIcon;
  23.     Rect        LockLocation;
  24.     Handle        openLockIcon;
  25.     
  26.     /* Methods */
  27.     void        IMacLockPane(CView *anEnclosure, CBureaucrat *aSupervisor,
  28.                             short aWidth, short aHeight,
  29.                             short aHEncl, short aVEncl,
  30.                             SizingOption aHSizing, SizingOption aVSizing);
  31.     void        Dispose(void);
  32.     void        DoCommand(long theCommand);                                
  33.     void        Draw(Rect *area);
  34. };
  35.